package main

import "fmt"

func main() {
	
	var num int = 19
	var str string = fmt.Sprintf("%d", num)
	fmt.Printf("str类型:%T, 值：%q \n", str, str)

	
	var num2 float32 = 3.14
	var str2 string = fmt.Sprintf("%f", num2)
	fmt.Printf("str2类型:%T, 值：%q \n", str2, str2)


	var flag bool = false
	var str3 string = fmt.Sprintf("%t", flag)
	fmt.Printf("str3类型:%T, 值：%q \n", str3, str3)

	var b byte = 'a'
	var str4 string = fmt.Sprintf("%c", b)
	fmt.Printf("str4类型:%T, 值：%q \n", str4, str4)

}